<template>
	<view>
		<!-- 顶部导航 -->
		<fa-navbar title="联系" :border-bottom="false"></fa-navbar>
		
		<scroll-view scroll-y="true" style="height: 79vh;">
			<rich-text :nodes="dataInfo.content"></rich-text>
		</scroll-view>
		
		<fa-tabbar></fa-tabbar>
	</view>
</template>

<script>
	export default {
		onLoad() {
			this.getInfo()
		},
		data() {
			return {
				dataInfo:''
			};
		},
		methods: {
			getInfo(){
				
				this.$api.aboutMine({
					diyname:'aboutus'	
				}).then(res => {
					this.dataInfo = res.data
					this.dataInfo.content = this.dataInfo.content.replace(/\<img/gi,
						'<img style="max-width:100%;height:auto" ');
					
				})
			}

		}
	};
</script>

<style lang="scss" scoped>
	.page-imgae {
		height: 400rpx;
		width: 100%;
	}
</style>